package top.hmtools.feign.interfaceFeign;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;
import org.springframework.web.servlet.ModelAndView;

import top.hmtools.feign.domain.UserBean;

@Component
public class HystrixDemo implements SchedualServiceHi{

	@Override
	public String sayHiFromClientOne(String name) {
		return this.toString();
	}

	@Override
	public Object re() {
		return new UserBean();
	}

	@Override
	public UserBean re2() {
		return new UserBean();
	}

	@Override
	public Object res() {
		return new UserBean();
	}

	@Override
	public List<UserBean> res2() {
		return new ArrayList<>();
	}

	@Override
	public Object mav() {
		return new ModelAndView();
	}

}
